package com.ysxsoft.wdg.adapter.th;


import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.bumptech.glide.Glide;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.ysxsoft.wdg.R;

import cn.iwgang.countdownview.CountdownView;

public class TuanListAdapter extends BaseQuickAdapter<String, BaseViewHolder> {


    public TuanListAdapter(int layoutResId) {
        super(layoutResId);
    }

    public void clear() {
        getData().clear();
        notifyDataSetChanged();
    }


    @Override
    protected void convert(BaseViewHolder helper, String item) {

//        Glide.with(mContext).load(item.getImage()).into((ImageView) helper.getView(R.id.iv_tx));
//        helper.setText(R.id.tv_nick, item.getName());
//        helper.setText(R.id.tv_location, item.getName());
//
//        helper.setText(R.id.tv_people_num, item. + "人");
//
//        CountdownView countdownView = helper.getView(R.id.countDown);

    }
}
